package com.compass.doctor.ui.setting.viewmodel

import com.compass.network.viewmodel.BaseViewModel
import com.netease.yunxin.kit.corekit.im.repo.SettingRepo


/**
 * Description： 设置viewModel
 * Date:2023/11/23 16:36
 */
class SettingViewModel : BaseViewModel() {

    fun getShowReadStatus(): Boolean {
        return SettingRepo.getShowReadStatus()
    }

    fun setShowReadStatus(delete: Boolean) {
        SettingRepo.setShowReadStatus(delete)
    }

    fun getAudioPlayMode(): Boolean {
        return SettingRepo.getHandsetMode()
    }

    fun setAudioPlayMode(mode: Boolean) {
        SettingRepo.setHandsetMode(mode)
    }
}